package com.wang.project.pay;

import com.wang.project.model.modle.PayModel;
import com.wang.project.pay.wx.WXPayService;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@Component
public class PayStrategyByWX extends PayStrategy {

    @Resource
    private WXPayService wxPayService;

    /**
     * 微信支付逻辑
     */
    @Override
    PayStrategyModel algorithmInterface(HttpServletRequest request, HttpServletResponse response, PayModel freshKeyPayModel) {
        // todo
        return new PayStrategyModel();
    }
}
